﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DataLayer.Implementations;
using DataLayer.Entities;
using System.Collections.Generic;

namespace DataLayerTests
{
    [TestClass]
    public class InvitationTests
    {
        [TestMethod]
        public void GetsAllInvitations()
        {
            InvitationApplication app = new InvitationApplication();
            IList<Invitation> results =  app.GetAll();

            Assert.IsTrue(results.Count > 0, "No invitations retrieved");
        }
    }
}
